package ck.android.englishschool.home;

import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import ck.android.englishschool.AppStatus;
import ck.android.englishschool.BaseFragment;
import ck.android.englishschool.R;

public class SentenceFragment extends BaseFragment{
	private View view;
	private HomeActivity am;
	private AppStatus myapp;
	private Context context;
	
	private TextView headerTitleText;
	
	@Override
	public View onCreateView(LayoutInflater inflater,
			@Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
		
		if (view != null) {
			ViewGroup parent = (ViewGroup) view.getParent();
			if (parent != null)
				parent.removeView(view);
		} else {
			view = inflater.inflate(R.layout.fragment_sentence, container, false);
			init();
		}

		return view;
		
	}
	
	public void init(){
		headerTitleText = (TextView)view.findViewById(R.id.headerTitleText);
		
		headerTitleText.setText("Sentence");
	}

	@Override
	public void Onback() {
		// TODO Auto-generated method stub
		
	}

}
